package com.shdanyan.service;

import java.util.List;

import com.shdanyan.domain.sys.SysUserInfo;

public interface UserInfoService {

	/*
	 * @Transactional(isolation = Isolation.DEFAULT, propagation =
	 * Propagation.REQUIRED) User login(String name, String password);
	 */

	List<SysUserInfo> getAll(SysUserInfo UserInfo);

	SysUserInfo getById(Long id);

	void deleteById(Long id);

	void save(SysUserInfo country);

	SysUserInfo findByUsername(String username);

}
